package com.itheima.mall.api.ums;

import com.itheima.mall.dto.ListDtoPage;
import com.itheima.mall.pojo.sms.SmsFlashPromotionProductRelation;
import com.itheima.mall.vo.PageResult;
import com.itheima.mall.vo.R;

import java.util.List;

public interface SmsFlashPromotionProductRelationApi {

    void addRelation(List<SmsFlashPromotionProductRelation> relations);

    void deleteRelation(Long id);

    PageResult getList(Integer flashPromotionId, Integer flashPromotionSessionId, int pageNum, int pageSize);

    void updateRelation(SmsFlashPromotionProductRelation relation1);

    SmsFlashPromotionProductRelation getRelation(Integer id);
}
